{$formStart}
<input type="hidden" name="id" value="{$news.id}" />
<table>
    <tr>
        <th colspan="2">{$editNews}</th>
    </tr>
    <tr>
        <td>{$title}</td>
        <td><input type="text" name="title" value="{$news.title}" /></td>
    </tr>
    <tr>
        <td>{$language}</td>
        <td><input type="text" maxlength="4" name="lang" value="{$news.lang}" /></td>
    </tr>
    {if $news.image != null }
    <tr>
        <td>{$savedImage}</td>
        <td>
            <img src="{$news.image}" alt="" /><br />
            <input type="checkbox" name="removeImage" value="1" />{$deleteImage}
        </td>
    </tr>
    {/if}
    <tr>
        <td>{$image}</td>
        <td><input type="file" name="image"></td>
    </tr>
    <tr>
        <td>{$categoriesLabel}</td>
        <td>
            <select name="category[]" multiple="multiple" size="4">
                {section name=category loop=$categories}
                <option value="{$categories[category].id}"{if $categories[category].selected }
                selected="selected"
                {/if}>{$categories[category].name}</option>
                {/section}
            </select>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            {$text}<br />
            <textarea name="text" cols="80" rows="10">{$news.text}</textarea>
        </td>
    </tr>
    <tr>
        <td>{$source}</td>
        <td><input type="text" name="newsSource" value="{$news.source}" /></td>
    </tr>
    <tr>
        <td>{$author}</td>
        <td><input type="text" name="author" value="{$news.author}" /></td>
    </tr>
    <tr>
        <td colspan="2"><input type="submit" value="{$save}" /></td>
    </tr>
</table>
</form>
<span style="display: none" id="fileCategoryId">{$fileCategoryId}</span>